using System;
using UnityEngine;

namespace MaterialUI
{
	[Serializable]
	public class RippleData
	{
		public enum SizeModeType
		{
			FillRect,
			MatchSize
		}

		public bool AutoSize = true;

		public float SizePercent = 105f;

		public float ManualSize;

		public SizeModeType SizeMode;

		public float Speed = 8f;

		public Color Color = Color.black;

		public float StartAlpha = 0.3f;

		public float EndAlpha = 0.1f;

		public bool MoveTowardCenter = true;

		public Transform RippleParent;

		public bool PlaceRippleBehind;

		public RippleData Copy()
		{
			RippleData rippleData = new RippleData();
			rippleData.AutoSize = AutoSize;
			rippleData.SizePercent = SizePercent;
			rippleData.ManualSize = ManualSize;
			rippleData.SizeMode = SizeMode;
			rippleData.Speed = Speed;
			rippleData.Color = Color;
			rippleData.StartAlpha = StartAlpha;
			rippleData.EndAlpha = EndAlpha;
			rippleData.MoveTowardCenter = MoveTowardCenter;
			rippleData.RippleParent = RippleParent;
			rippleData.PlaceRippleBehind = PlaceRippleBehind;
			return rippleData;
		}
	}
}
